PEGetNthTableType4

The PEGetNthTableType4 function was specially designed to accept VB's native 4-byte aligned "Types." It allows the application to determine the type of each table.

Declare Function PEGetNthTableType4 Lib "crwrap32.dll" (ByVal printJob 
As Integer, ByVal TableN As Integer, TableType As PETableType4) As 
Integer
Parameters

printJob

Specifies the handle of the print job for which you want to determine a table type.

TableN

Specifies the number of the table for which you want to determine the type. Table numbers start at 0.

TableType

Specifies the pointer to the PETableType4 structure.

Return Value

TRUE (1) if the call is successful, FALSE (0) if anything goes wrong.

Remarks

The application can test DBType in thePETableType4 structure, or test the database DLL name used to create the report. DLL names have the following naming convention:

You must initialize this member to be the size of whatever it is. For example:

tableType.StructSize = PE_SIZEOF_TABLE_TYPE



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com